/**
 * Package: IO
 * 
 * Requires: Char, String
 */

/// <summary>Outputs a specified message.</summary>
/// <param name="str">The message to send.</param>
void IO_WriteString $opc(0x55) (char str[]);

/// <summary>Checks for a condition; if the condition is true, outputs a specified message.</summary>
/// <param name="condition">The conditional expression to evaluate. If the condition is true, the specified message is sent.</param>
/// <param name="message">The message to send.</param>
void IO_WriteStringIf(byte condition, char message[])
{
    if (condition)
        IO_WriteString(message);
}